        <div id="gallerylist">
        <ul>
        <? foreach ($galleries as $gal):?>
            <li><input type="radio" name="gallery" value="<?=$gal?>">
            <a href="<?=site_url("/admin/gallerymgr/gallery/$gal");?>" ><?=$gal?></a><br /></li>
        <? endforeach; ?>
        </ul>
        </div>
